// 模拟异步操作
async function getData() {
    return new Promise(resolve => {
        setTimeout(() => resolve({ data: "异步结果" }), 1000);
    });
}

// 执行并输出结果
(async () => {
    const result = await getData();
    console.log(JSON.stringify(result)); // 输出JSON便于Python解析
})();
